package com.example.train_operate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.train_operate.entity.Examine;

import java.util.List;

public interface CentralizedMaintenanceGuidelinesMapper extends BaseMapper<Examine> {
    int addByStep(Examine examine);
    //通过step查找InspectionOrExamine
    Examine findByStep(Integer step);
    int updateByStep(Examine examine);
    //通过steap删除InspectionOrExamine
    void deleteByStep(Integer step);
    //返回所有的InspectionOrExamine
    List<Examine> findAll();
}
